package com.qst.dao;

import com.qst.po.Schedule;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ScheduleMapper {
    public int getTotalCount();

    public List<Schedule> getschedulesbypage(@Param("page") int page,@Param("limit") int limit);

    public int addschedule(Schedule schedule);

    public Schedule getschedulesbyid(int id);

    public int updateschedule(Schedule schedule);

    public int deleteschedule(int id);
}
